//运用刚创建的Car类，用main方法实例化并返回一些对象。
public class CarTest
{
  public static void main(String []args)
  {
   Car mine = new Car("BMW","x5",1956);
   Car yours = new Car("Benz","s6",1998);

   System.out.println();
   System.out.println(mine);
   System.out.println(yours);
   System.out.println(mine.isAntique());
   System.out.println(mine.isAntique());
   }
}   
